package com.tensquare.friend.pojo;
/*
 *ClassName:User
 *Description:
 *@author:可爱的大鸭子
 */


import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;
import java.util.List;

@Entity
@Table(name="tb_user")
public class User {
    @Id
    private String id;

    private String nickname;
    private String pic;
    private String city;
    private String constellation;
    private String job;
    private Integer age;
    private Integer sex;
    private String gathering;
    private String tag;
    private String fa;
    private Date createtime;
    private String pic1;
    private String personality;
    private String interest;

    @Transient
    private Double suit;    //匹配度
    @Transient
    private List<String> labels; //共同关注的标签集合
    @Transient
    private List<String> gatherings;//共同关注的活动集合
    @Transient
    private List<String> labels3;    //共同关注的前三个标签名
    @Transient
    private List<String> gatherings1;//共同参加的前一个活动名

    public String getPic1() {
        return pic1;
    }

    public void setPic1(String pic1) {
        this.pic1 = pic1;
    }

    public String getPersonality() {
        return personality;
    }

    public void setPersonality(String personality) {
        this.personality = personality;
    }

    public String getInterest() {
        return interest;
    }

    public void setInterest(String interest) {
        this.interest = interest;
    }

    public List<String> getLabels3() {
        return labels3;
    }

    public void setLabels3(List<String> labels3) {
        this.labels3 = labels3;
    }

    public List<String> getGatherings1() {
        return gatherings1;
    }

    public void setGatherings1(List<String> gatherings1) {
        this.gatherings1 = gatherings1;
    }

    public List<String> getLabels() {
        return labels;
    }

    public void setLabels(List<String> labels) {
        this.labels = labels;
    }

    public List<String> getGatherings() {
        return gatherings;
    }

    public void setGatherings(List<String> gatherings) {
        this.gatherings = gatherings;
    }

    public Double getSuit() {
        return suit;
    }

    public void setSuit(Double suit) {
        this.suit = suit;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getFa() {
        return fa;
    }

    public void setFa(String fa) {
        this.fa = fa;
    }

    public String getGathering() {
        return gathering;
    }

    public void setGathering(String gathering) {
        this.gathering = gathering;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getConstellation() {
        return constellation;
    }

    public void setConstellation(String constellation) {
        this.constellation = constellation;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }
}
